import os
import shutil

import pytest

if __name__ == '__main__':
    #从这里跑会去读pytest.ini里面设置的参数,也会生成报告
    pytest.main()
    #pytest.main(['-s','-v','-k','test_user_manager.py'])
    shutil.copy('./environment.xml', './report/temp')
    os.system('allure serve ./report/temp')
